<?php

namespace app\data\controller;
use think\admin\Controller;
use think\admin\helper\QueryHelper;
use app\data\model\DataDeviceOta;
use app\data\service\DeviceService;
/**
 * 数据统计
 * @class Portal
 * @package app\data\controller
 */
class Portal extends Controller
{
    /**
     * 数据统计
     * @menu true
     * @auth true
     */
    public function index()
    {
        $this->usersTotal = 1;
        $this->techTotal = 1;
        $this->orderTotal = 1;
        $this->amountTotal =  1;
        $this->levels = [];
        $this->days = $this->app->cache->get('portals', []);
        $this->fetch();;
    }
}
